package com.yenroc.invoice.pojo.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 购买方信息
 */
@XmlRootElement(name = "BuyerInformation")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class BuyerInformationXmlDTO {
    /**
     * 购买方纳税人识别号
     */
    @XmlElement(name = "BuyerIdNum")
    private String buyerIdNum;

    /**
     * 购买方名称
     */
    @XmlElement(name = "BuyerName")
    private String buyerName;

    @XmlElement(name = "BuyerAddr")
    private String buyerAddr;

    @XmlElement(name = "BuyerTelNum")
    private String buyerTelNum;

    @XmlElement(name = "BuyerBankName")
    private String buyerBankName;

    @XmlElement(name = "BuyerBankAccNum")
    private String buyerBankAccNum;

    @XmlElement(name = "BuyerHandlingName")
    private String buyerHandlingName;
}